package interceptor

import "context"

const (
	//OpenTLS 是否开启TLS认证
	OpenTls =true
)
type customCredential struct{

}


func (c customCredential) GetRequestMetadata(ctx context.Context,uri ...string) (map[string]string) {

	return map[string]string {
		"appid":"101010",
		"appkey":"i am key",
	}
}

func (c customCredential) RequireTransportSecurity() bool {
	return OpenTls
}


